//
//  TechCardView.swift
//  ReadHub
//
//  Created by testypp on 2018/1/8.
//  Copyright © 2018年 longyiqun. All rights reserved.
//

import Foundation
import UIKit


class TechCardView: UIView {
	
	@IBOutlet weak var summaryLable: UILabel!
	
	@IBOutlet weak var titleLable: UILabel!
	
	@IBOutlet weak var timeLable: UILabel!
	
	@IBOutlet weak var authorLable: UILabel!
	
	override init(frame: CGRect) {
		super.init(frame: frame)
		setup()
	}
	
	required init?(coder aDecoder: NSCoder) {
		super.init(coder: aDecoder)
		setup()
	}
	
	func setup() {
		// Shadow
//		layer.shadowColor = UIColor.black.cgColor
//		layer.shadowOpacity = 0.25
//		layer.shadowOffset = CGSize(width: 0, height: 1.5)
//		layer.shadowRadius = 4.0
//		layer.shouldRasterize = true
//		layer.rasterizationScale = UIScreen.main.scale
//
		// Corner Radius
		layer.cornerRadius = 13.0;
	}
}
